package cn.wsalix.templet.repository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import cn.anlaser.repository.SimpleRepository;
import cn.wsalix.templet.entity.PageData;

public interface PageDataRepository extends SimpleRepository<PageData> {
	@Query("select u from PageData u where u.dataCode = :code")
	PageData findByCodeOne(@Param("code")String code);
}
